package com.leadingsoft.pwxk.converter;

import org.springframework.beans.BeanUtils;
import org.springframework.stereotype.Component;

import com.leadingsoft.common.converter.AbstractConverter;
import com.leadingsoft.pwxk.dto.YearPlanDto;
import com.leadingsoft.pwxk.model.YearPlan;

@Component
public class YearPlanConverter extends AbstractConverter<YearPlan, YearPlanDto> {

	@Override
	protected YearPlanDto toDtoActual(YearPlan model) {
		YearPlanDto dto = new YearPlanDto();
		BeanUtils.copyProperties(model, dto);
		return dto;
	}

	@Override
	public void copyProperties(YearPlan model, YearPlanDto dto) {
	}

}
